# Maintainer: Olivier Duchateau <duchateau.olivier@gmail.com>

pkgname=thunar-volman
pkgver=0.6.0
pkgrel=1
pkgdesc="Automatic management of removable drives and media for Thunar"
arch=('ppc')
url="http://git.xfce.org/xfce/thunar-volman/"
license=('GPL2')
groups=('xfce4')
depends=('thunar>=1.1.4' 'libnotify' 'exo' 'xfconf' 'gtk2' 'udev' 'hicolor-icon-theme')
makedepends=('intltool' 'pkg-config')
checkdepends=('!libtool')
source=(http://archive.xfce.org/src/apps/${pkgname}/0.6/${pkgname}-${pkgver}.tar.bz2)
md5sums=('2f166662dd100d5195da238af417f305')

build() {
  cd "$srcdir/$pkgname-$pkgver"
  ./configure --prefix=/usr \
	--sysconfdir=/etc \
	--libexecdir=/usr/lib/xfce4 \
	--localstatedir=/var \
	--disable-static \
	--enable-nls \
	--enable-notifications
  make
}

package() {
  cd "$srcdir/$pkgname-$pkgver"
  make DESTDIR="$pkgdir/" install
}

